/*    */ package system.staros.sblock1;
/*    */ 
/*    */ public abstract class BinaryOpNode extends Node
/*    */ {
/*    */   protected String operator;
/*    */   protected Node left;
/*    */   protected Node right;
/*    */ 
/*    */   protected BinaryOpNode(SourcePosition paramSourcePosition, String paramString, Node paramNode1, Node paramNode2)
/*    */   {
/* 40 */     super(paramSourcePosition);
/* 41 */     this.operator = paramString;
/* 42 */     this.left = paramNode1;
/* 43 */     this.right = paramNode2;
/*    */   }
/*    */ 
/*    */   public String getName()
/*    */   {
/* 50 */     return this.operator;
/*    */   }
/*    */ 
/*    */   public Node getLeft()
/*    */   {
/* 57 */     return this.left;
/*    */   }
/*    */ 
/*    */   public Node getRight()
/*    */   {
/* 64 */     return this.right;
/*    */   }
/*    */ 
/*    */   public String toString()
/*    */   {
/* 69 */     StringBuilder localStringBuilder = new StringBuilder();
/* 70 */     localStringBuilder.append('(');
/* 71 */     localStringBuilder.append(getName());
/* 72 */     localStringBuilder.append(' ');
/* 73 */     localStringBuilder.append(this.left.toString());
/* 74 */     localStringBuilder.append(' ');
/* 75 */     localStringBuilder.append(this.right.toString());
/* 76 */     localStringBuilder.append(')');
/* 77 */     return localStringBuilder.toString();
/*    */   }
/*    */ }

/* Location:           D:\Марк\!IMPORTANT\staros\archive\version-2.260.zip
 * Qualified Name:     system.staros.sblock1.BinaryOpNode
 * JD-Core Version:    0.6.1
 */